package com.mng.spring5new.JUnitTest;


import com.mng.beanTest1.User;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit.jupiter.SpringExtension;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;



@ExtendWith(SpringExtension.class)
@ContextConfiguration("classpath*:/bean1.xml")
//@SpringJUnitConfig(locations = "classpath*:/bean1.xml")
public class Junit5test {
  @Autowired
  User user;
  @Test
  public void test12(){
    System.out.println(user);
  }
}
